<?php
/**
 * @package WordPress
 * @subpackage Freshine
 * @since Freshine 1.1.0
 */
?>

<?php get_header(); ?>

	<div id="f9-mainbody" class="wrap">
		<div class="main clearfix">
			<?php get_sidebar( 'left' );?>
			<div id="f9-container" class="<?php f9_container_class() ?>">
            	<?php get_sidebar( 'content-top' );?>
				<div id="f9-content">
					<?php if ( have_posts() ) the_post(); ?>
					
                    <h1 class="page-title">
						<?php printf( __( 'Tag Archives: %s', 'f9vn' ), '<span>' . single_tag_title( '', false ) . '</span>' ); ?>
                    </h1>
					<?php
						$tag_description = tag_description();
						if ( ! empty( $tag_description ) )
							echo apply_filters( 'tag_archive_meta', '<div class="tag-archive-meta">' . $tag_description . '</div>' );
					?>
					
					<?php rewind_posts(); ?>
					
					<?php f9_content_nav( 'nav-above' ) ?>
					
                    <?php while ( have_posts() ) : the_post(); ?>
					
                    <?php get_template_part( 'content', get_post_format() ); ?>
					
					<?php endwhile; ?>
					
					<?php f9_content_nav( 'nav-below' ) ?>
					
				</div><!-- #f9-content -->
				<?php get_sidebar( 'content-bottom' );?>
			</div><!-- #f9-container -->
            <?php get_sidebar( 'right' );?>
		</div>
	</div><!-- #f9-mainbody -->

<?php get_footer(); ?>